home *** CD-ROM | disk | FTP | other *** search
/ Ultra Pack / UltraComputing Partner Applications.iso / SunLabs / tclTK / src / tcl7.4p1.patch < prev    next >
Text File  |  1995-07-28  |  30KB  |  1,117 lines

  1. Prereq: "7.4"
  2. *** ../tcl7.4/patchlevel.h    Thu Jun 29 14:47:22 1995
  3. --- patchlevel.h    Fri Jul 28 10:08:25 1995
  4. ***************
  5. *** 17,23 ****
  6.    * See the file "license.terms" for information on usage and redistribution
  7.    * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
  8.    *
  9. !  * @(#) patchlevel.h 1.9 95/06/29 14:47:20
  10.    */
  11.   
  12. ! #define TCL_PATCH_LEVEL "7.4"
  13. --- 17,23 ----
  14.    * See the file "license.terms" for information on usage and redistribution
  15.    * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
  16.    *
  17. !  * @(#) patchlevel.h 1.10 95/07/28 10:08:24
  18.    */
  19.   
  20. ! #define TCL_PATCH_LEVEL "7.4p1"
  21. *** ../tcl7.4/./Makefile.in    Fri Jun 30 11:20:04 1995
  22. --- ./Makefile.in    Fri Jul 28 10:21:04 1995
  23. ***************
  24. *** 5,11 ****
  25.   # "autoconf" program (constructs like "@foo@" will get replaced in the
  26.   # actual Makefile.
  27.   #
  28. ! # @(#) Makefile.in 1.23 95/06/08 13:13:36
  29.   
  30.   # Current Tcl version;  used in various names.
  31.   
  32. --- 5,11 ----
  33.   # "autoconf" program (constructs like "@foo@" will get replaced in the
  34.   # actual Makefile.
  35.   #
  36. ! # @(#) Makefile.in 1.24 95/07/27 12:40:13
  37.   
  38.   # Current Tcl version;  used in various names.
  39.   
  40. ***************
  41. *** 65,70 ****
  42. --- 65,75 ----
  43.   # Tcl commands:
  44.   MANN_INSTALL_DIR =    $(MAN_INSTALL_DIR)/mann
  45.   
  46. + # Additional libraries to use when linking.  The "LIBS" part will be
  47. + # replaced (or has already been replaced) with relevant libraries as
  48. + # determined by the configure script.
  49. + LIBS = @LIBS@
  50.   # To change the compiler switches, for example to change from -O
  51.   # to -g, change the following line:
  52.   CFLAGS = -O
  53. ***************
  54. *** 159,168 ****
  55.       $(RANLIB) libtcl.a
  56.   
  57.   tclsh: tclAppInit.o libtcl.a
  58. !     ${CC} ${CC_SWITCHES} tclAppInit.o libtcl.a ${MATH_LIBS} -o tclsh
  59.   
  60.   tcltest: tclTest.o libtcl.a
  61. !     ${CC} ${CC_SWITCHES} tclTest.o libtcl.a ${MATH_LIBS} -o tcltest
  62.   
  63.   test: tcltest
  64.       @cwd=`pwd`; \
  65. --- 164,173 ----
  66.       $(RANLIB) libtcl.a
  67.   
  68.   tclsh: tclAppInit.o libtcl.a
  69. !     ${CC} ${CC_SWITCHES} tclAppInit.o libtcl.a ${LIBS} ${MATH_LIBS} -o tclsh
  70.   
  71.   tcltest: tclTest.o libtcl.a
  72. !     ${CC} ${CC_SWITCHES} tclTest.o libtcl.a ${LIBS} ${MATH_LIBS} -o tcltest
  73.   
  74.   test: tcltest
  75.       @cwd=`pwd`; \
  76. ***************
  77. *** 174,180 ****
  78.       @echo "# Definitions and libraries needed to build Tcl applications" >> configInfo
  79.       @echo "# (generated by the configure script):" >> configInfo
  80.       @echo "TCL_CC_SWITCHES = ${AC_FLAGS} ${MEM_DEBUG_FLAGS}" >> configInfo
  81. !     @echo "TCL_LIBS = ${MATH_LIBS} @LIBS@" >> configInfo
  82.   
  83.   install: install-binaries install-libraries install-man
  84.   
  85. --- 179,185 ----
  86.       @echo "# Definitions and libraries needed to build Tcl applications" >> configInfo
  87.       @echo "# (generated by the configure script):" >> configInfo
  88.       @echo "TCL_CC_SWITCHES = ${AC_FLAGS} ${MEM_DEBUG_FLAGS}" >> configInfo
  89. !     @echo "TCL_LIBS = ${LIBS} ${MATH_LIBS}" >> configInfo
  90.   
  91.   install: install-binaries install-libraries install-man
  92.   
  93. *** ../tcl7.4/./tclBasic.c    Thu Jun 29 13:33:23 1995
  94. --- ./tclBasic.c    Tue Jul 25 13:01:45 1995
  95. ***************
  96. *** 12,18 ****
  97.    * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
  98.    */
  99.   
  100. ! static char sccsid[] = "@(#) tclBasic.c 1.168 95/06/29 13:33:21";
  101.   
  102.   #include "tclInt.h"
  103.   #ifndef TCL_GENERIC_ONLY
  104. --- 12,18 ----
  105.    * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
  106.    */
  107.   
  108. ! static char sccsid[] = "@(#) tclBasic.c 1.169 95/07/25 13:01:44";
  109.   
  110.   #include "tclInt.h"
  111.   #ifndef TCL_GENERIC_ONLY
  112. ***************
  113. *** 704,714 ****
  114.       return -1;
  115.       }
  116.       cmdPtr = (Command *) Tcl_GetHashValue(hPtr);
  117.       if (cmdPtr->deleteProc != NULL) {
  118.       (*cmdPtr->deleteProc)(cmdPtr->deleteData);
  119.       }
  120.       ckfree((char *) cmdPtr);
  121. -     Tcl_DeleteHashEntry(hPtr);
  122.       return 0;
  123.   }
  124.   
  125. --- 704,721 ----
  126.       return -1;
  127.       }
  128.       cmdPtr = (Command *) Tcl_GetHashValue(hPtr);
  129. +     /*
  130. +      * Delete the hash table entry before invoking the deletion callback;
  131. +      * otherwise the callback could delete the command a second time, or
  132. +      * create a new command on top of the one we're deleting.
  133. +      */
  134. +     Tcl_DeleteHashEntry(hPtr);
  135.       if (cmdPtr->deleteProc != NULL) {
  136.       (*cmdPtr->deleteProc)(cmdPtr->deleteData);
  137.       }
  138.       ckfree((char *) cmdPtr);
  139.       return 0;
  140.   }
  141.   
  142. *** ../tcl7.4/./tclUnixUtil.c    Wed Mar 29 11:24:26 1995
  143. --- ./tclUnixUtil.c    Sat Jul 22 17:31:37 1995
  144. ***************
  145. *** 16,24 ****
  146.    * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
  147.    */
  148.   
  149. ! #ifndef lint
  150. ! static char sccsid[] = "@(#) tclUnixUtil.c 1.55 95/03/29 11:24:23";
  151. ! #endif /* not lint */
  152.   
  153.   #include "tclInt.h"
  154.   #include "tclPort.h"
  155. --- 16,22 ----
  156.    * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
  157.    */
  158.   
  159. ! static char sccsid[] = "@(#) tclUnixUtil.c 1.56 95/07/22 17:31:36";
  160.   
  161.   #include "tclInt.h"
  162.   #include "tclPort.h"
  163. ***************
  164. *** 634,640 ****
  165.       pidPtr[i] = -1;
  166.       }
  167.       Tcl_ReapDetachedProcs();
  168. !     for (firstArg = 0; firstArg < argc; numPids++, firstArg = lastArg+1) {
  169.       int joinThisError;
  170.       int curOutputId;
  171.   
  172. --- 632,638 ----
  173.       pidPtr[i] = -1;
  174.       }
  175.       Tcl_ReapDetachedProcs();
  176. !     for (firstArg = 0; firstArg < argc; firstArg = lastArg+1) {
  177.       int joinThisError;
  178.       int curOutputId;
  179.   
  180. ***************
  181. *** 726,731 ****
  182. --- 724,738 ----
  183.       }
  184.   
  185.       /*
  186. +      * Add the child process to the list of those to be reaped.
  187. +      * Note:  must do it now, so that the process will be reaped
  188. +      * even if an error occurred during its startup.
  189. +      */
  190. +     pidPtr[numPids] = pid;
  191. +     numPids++;
  192. +     /*
  193.        * Read back from the error pipe to see if the child startup
  194.        * up OK.  The info in the pipe (if any) consists of a decimal
  195.        * errno value followed by an error message.
  196. ***************
  197. *** 744,750 ****
  198.       }
  199.       close(errPipeIds[0]);
  200.       errPipeIds[0] = -1;
  201. -     pidPtr[numPids] = pid;
  202.   
  203.       /*
  204.        * Close off our copies of file descriptors that were set up for
  205. --- 751,756 ----
  206. *** ../tcl7.4/./configure    Fri Jun 30 11:20:16 1995
  207. --- ./configure    Fri Jul 28 10:21:16 1995
  208. ***************
  209. *** 1,7 ****
  210.   #! /bin/sh
  211.   
  212.   # Guess values for system-dependent variables and create Makefiles.
  213. ! # Generated automatically using autoconf version 2.2 
  214.   # Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc.
  215.   #
  216.   # This configure script is free software; the Free Software Foundation
  217. --- 1,7 ----
  218.   #! /bin/sh
  219.   
  220.   # Guess values for system-dependent variables and create Makefiles.
  221. ! # Generated automatically using autoconf version 2.4 
  222.   # Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc.
  223.   #
  224.   # This configure script is free software; the Free Software Foundation
  225. ***************
  226. *** 216,222 ****
  227.       verbose=yes ;;
  228.   
  229.     -version | --version | --versio | --versi | --vers)
  230. !     echo "configure generated by autoconf version 2.2"
  231.       exit 0 ;;
  232.   
  233.     -with-* | --with-*)
  234. --- 216,222 ----
  235.       verbose=yes ;;
  236.   
  237.     -version | --version | --versio | --versi | --vers)
  238. !     echo "configure generated by autoconf version 2.4"
  239.       exit 0 ;;
  240.   
  241.     -with-* | --with-*)
  242. ***************
  243. *** 382,389 ****
  244.   ac_ext=c
  245.   # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
  246.   ac_cpp='$CPP $CPPFLAGS'
  247. ! ac_compile='${CC-cc} conftest.$ac_ext $CFLAGS $CPPFLAGS -c 1>&5 2>&5'
  248. ! ac_link='${CC-cc} conftest.$ac_ext $CFLAGS $CPPFLAGS $LDFLAGS -o conftest $LIBS 1>&5 2>&5'
  249.   
  250.   if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
  251.     # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
  252. --- 382,389 ----
  253.   ac_ext=c
  254.   # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
  255.   ac_cpp='$CPP $CPPFLAGS'
  256. ! ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5 2>&5'
  257. ! ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5 2>&5'
  258.   
  259.   if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
  260.     # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
  261. ***************
  262. *** 909,916 ****
  263.   rm -f conftest*
  264.     ac_cv_prog_CPP="$CPP"
  265.   fi
  266.   fi
  267. - CPP="$ac_cv_prog_CPP"
  268.   echo "$ac_t""$CPP" 1>&6
  269.   
  270.   for ac_hdr in unistd.h
  271. --- 909,918 ----
  272.   rm -f conftest*
  273.     ac_cv_prog_CPP="$CPP"
  274.   fi
  275. +   CPP="$ac_cv_prog_CPP"
  276. + else
  277. +   ac_cv_prog_CPP="$CPP"
  278.   fi
  279.   echo "$ac_t""$CPP" 1>&6
  280.   
  281.   for ac_hdr in unistd.h
  282. ***************
  283. *** 921,927 ****
  284.     echo $ac_n "(cached) $ac_c" 1>&6
  285.   else
  286.     cat > conftest.$ac_ext <<EOF
  287. ! #line 925 "configure"
  288.   #include "confdefs.h"
  289.   #include <$ac_hdr>
  290.   EOF
  291. --- 923,929 ----
  292.     echo $ac_n "(cached) $ac_c" 1>&6
  293.   else
  294.     cat > conftest.$ac_ext <<EOF
  295. ! #line 927 "configure"
  296.   #include "confdefs.h"
  297.   #include <$ac_hdr>
  298.   EOF
  299. ***************
  300. *** 939,945 ****
  301.   fi
  302.   if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  303.     echo "$ac_t""yes" 1>&6
  304. !     ac_tr_hdr=HAVE_`echo $ac_hdr | tr '[a-z]./\055' '[A-Z]___'`
  305.     cat >> confdefs.h <<EOF
  306.   #define $ac_tr_hdr 1
  307.   EOF
  308. --- 941,947 ----
  309.   fi
  310.   if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  311.     echo "$ac_t""yes" 1>&6
  312. !     ac_tr_hdr=HAVE_`echo $ac_hdr | tr 'abcdefghijklmnopqrstuvwxyz./\055' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ___'`
  313.     cat >> confdefs.h <<EOF
  314.   #define $ac_tr_hdr 1
  315.   EOF
  316. ***************
  317. *** 951,957 ****
  318.   
  319.   echo $ac_n "checking dirent.h""... $ac_c" 1>&6
  320.   cat > conftest.$ac_ext <<EOF
  321. ! #line 955 "configure"
  322.   #include "confdefs.h"
  323.   #include <sys/types.h>
  324.   #include <dirent.h>
  325. --- 953,959 ----
  326.   
  327.   echo $ac_n "checking dirent.h""... $ac_c" 1>&6
  328.   cat > conftest.$ac_ext <<EOF
  329. ! #line 957 "configure"
  330.   #include "confdefs.h"
  331.   #include <sys/types.h>
  332.   #include <dirent.h>
  333. ***************
  334. *** 988,994 ****
  335.   rm -f conftest*
  336.   
  337.   cat > conftest.$ac_ext <<EOF
  338. ! #line 992 "configure"
  339.   #include "confdefs.h"
  340.   #include <dirent.h>
  341.   EOF
  342. --- 990,996 ----
  343.   rm -f conftest*
  344.   
  345.   cat > conftest.$ac_ext <<EOF
  346. ! #line 994 "configure"
  347.   #include "confdefs.h"
  348.   #include <dirent.h>
  349.   EOF
  350. ***************
  351. *** 1012,1018 ****
  352.     echo $ac_n "(cached) $ac_c" 1>&6
  353.   else
  354.     cat > conftest.$ac_ext <<EOF
  355. ! #line 1016 "configure"
  356.   #include "confdefs.h"
  357.   #include <errno.h>
  358.   EOF
  359. --- 1014,1020 ----
  360.     echo $ac_n "(cached) $ac_c" 1>&6
  361.   else
  362.     cat > conftest.$ac_ext <<EOF
  363. ! #line 1018 "configure"
  364.   #include "confdefs.h"
  365.   #include <errno.h>
  366.   EOF
  367. ***************
  368. *** 1045,1051 ****
  369.     echo $ac_n "(cached) $ac_c" 1>&6
  370.   else
  371.     cat > conftest.$ac_ext <<EOF
  372. ! #line 1049 "configure"
  373.   #include "confdefs.h"
  374.   #include <float.h>
  375.   EOF
  376. --- 1047,1053 ----
  377.     echo $ac_n "(cached) $ac_c" 1>&6
  378.   else
  379.     cat > conftest.$ac_ext <<EOF
  380. ! #line 1051 "configure"
  381.   #include "confdefs.h"
  382.   #include <float.h>
  383.   EOF
  384. ***************
  385. *** 1078,1084 ****
  386.     echo $ac_n "(cached) $ac_c" 1>&6
  387.   else
  388.     cat > conftest.$ac_ext <<EOF
  389. ! #line 1082 "configure"
  390.   #include "confdefs.h"
  391.   #include <limits.h>
  392.   EOF
  393. --- 1080,1086 ----
  394.     echo $ac_n "(cached) $ac_c" 1>&6
  395.   else
  396.     cat > conftest.$ac_ext <<EOF
  397. ! #line 1084 "configure"
  398.   #include "confdefs.h"
  399.   #include <limits.h>
  400.   EOF
  401. ***************
  402. *** 1111,1117 ****
  403.     echo $ac_n "(cached) $ac_c" 1>&6
  404.   else
  405.     cat > conftest.$ac_ext <<EOF
  406. ! #line 1115 "configure"
  407.   #include "confdefs.h"
  408.   #include <stdlib.h>
  409.   EOF
  410. --- 1113,1119 ----
  411.     echo $ac_n "(cached) $ac_c" 1>&6
  412.   else
  413.     cat > conftest.$ac_ext <<EOF
  414. ! #line 1117 "configure"
  415.   #include "confdefs.h"
  416.   #include <stdlib.h>
  417.   EOF
  418. ***************
  419. *** 1136,1142 ****
  420.   fi
  421.   
  422.   cat > conftest.$ac_ext <<EOF
  423. ! #line 1140 "configure"
  424.   #include "confdefs.h"
  425.   #include <stdlib.h>
  426.   EOF
  427. --- 1138,1144 ----
  428.   fi
  429.   
  430.   cat > conftest.$ac_ext <<EOF
  431. ! #line 1142 "configure"
  432.   #include "confdefs.h"
  433.   #include <stdlib.h>
  434.   EOF
  435. ***************
  436. *** 1150,1156 ****
  437.   rm -f conftest*
  438.   
  439.   cat > conftest.$ac_ext <<EOF
  440. ! #line 1154 "configure"
  441.   #include "confdefs.h"
  442.   #include <stdlib.h>
  443.   EOF
  444. --- 1152,1158 ----
  445.   rm -f conftest*
  446.   
  447.   cat > conftest.$ac_ext <<EOF
  448. ! #line 1156 "configure"
  449.   #include "confdefs.h"
  450.   #include <stdlib.h>
  451.   EOF
  452. ***************
  453. *** 1164,1170 ****
  454.   rm -f conftest*
  455.   
  456.   cat > conftest.$ac_ext <<EOF
  457. ! #line 1168 "configure"
  458.   #include "confdefs.h"
  459.   #include <stdlib.h>
  460.   EOF
  461. --- 1166,1172 ----
  462.   rm -f conftest*
  463.   
  464.   cat > conftest.$ac_ext <<EOF
  465. ! #line 1170 "configure"
  466.   #include "confdefs.h"
  467.   #include <stdlib.h>
  468.   EOF
  469. ***************
  470. *** 1189,1195 ****
  471.     echo $ac_n "(cached) $ac_c" 1>&6
  472.   else
  473.     cat > conftest.$ac_ext <<EOF
  474. ! #line 1193 "configure"
  475.   #include "confdefs.h"
  476.   #include <string.h>
  477.   EOF
  478. --- 1191,1197 ----
  479.     echo $ac_n "(cached) $ac_c" 1>&6
  480.   else
  481.     cat > conftest.$ac_ext <<EOF
  482. ! #line 1195 "configure"
  483.   #include "confdefs.h"
  484.   #include <string.h>
  485.   EOF
  486. ***************
  487. *** 1214,1220 ****
  488.   fi
  489.   
  490.   cat > conftest.$ac_ext <<EOF
  491. ! #line 1218 "configure"
  492.   #include "confdefs.h"
  493.   #include <string.h>
  494.   EOF
  495. --- 1216,1222 ----
  496.   fi
  497.   
  498.   cat > conftest.$ac_ext <<EOF
  499. ! #line 1220 "configure"
  500.   #include "confdefs.h"
  501.   #include <string.h>
  502.   EOF
  503. ***************
  504. *** 1228,1234 ****
  505.   rm -f conftest*
  506.   
  507.   cat > conftest.$ac_ext <<EOF
  508. ! #line 1232 "configure"
  509.   #include "confdefs.h"
  510.   #include <string.h>
  511.   EOF
  512. --- 1230,1236 ----
  513.   rm -f conftest*
  514.   
  515.   cat > conftest.$ac_ext <<EOF
  516. ! #line 1234 "configure"
  517.   #include "confdefs.h"
  518.   #include <string.h>
  519.   EOF
  520. ***************
  521. *** 1253,1259 ****
  522.     echo $ac_n "(cached) $ac_c" 1>&6
  523.   else
  524.     cat > conftest.$ac_ext <<EOF
  525. ! #line 1257 "configure"
  526.   #include "confdefs.h"
  527.   #include <sys/time.h>
  528.   EOF
  529. --- 1255,1261 ----
  530.     echo $ac_n "(cached) $ac_c" 1>&6
  531.   else
  532.     cat > conftest.$ac_ext <<EOF
  533. ! #line 1259 "configure"
  534.   #include "confdefs.h"
  535.   #include <sys/time.h>
  536.   EOF
  537. ***************
  538. *** 1286,1292 ****
  539.     echo $ac_n "(cached) $ac_c" 1>&6
  540.   else
  541.     cat > conftest.$ac_ext <<EOF
  542. ! #line 1290 "configure"
  543.   #include "confdefs.h"
  544.   #include <sys/wait.h>
  545.   EOF
  546. --- 1288,1294 ----
  547.     echo $ac_n "(cached) $ac_c" 1>&6
  548.   else
  549.     cat > conftest.$ac_ext <<EOF
  550. ! #line 1292 "configure"
  551.   #include "confdefs.h"
  552.   #include <sys/wait.h>
  553.   EOF
  554. ***************
  555. *** 1324,1330 ****
  556.       { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
  557.   else
  558.   cat > conftest.$ac_ext <<EOF
  559. ! #line 1328 "configure"
  560.   #include "confdefs.h"
  561.   
  562.   extern int strstr();
  563. --- 1326,1332 ----
  564.       { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
  565.   else
  566.   cat > conftest.$ac_ext <<EOF
  567. ! #line 1330 "configure"
  568.   #include "confdefs.h"
  569.   
  570.   extern int strstr();
  571. ***************
  572. *** 1360,1366 ****
  573.     echo $ac_n "(cached) $ac_c" 1>&6
  574.   else
  575.     cat > conftest.$ac_ext <<EOF
  576. ! #line 1364 "configure"
  577.   #include "confdefs.h"
  578.   /* System header to define __stub macros and hopefully few prototypes,
  579.       which can conflict with char strtoul(); below.  */
  580. --- 1362,1368 ----
  581.     echo $ac_n "(cached) $ac_c" 1>&6
  582.   else
  583.     cat > conftest.$ac_ext <<EOF
  584. ! #line 1366 "configure"
  585.   #include "confdefs.h"
  586.   /* System header to define __stub macros and hopefully few prototypes,
  587.       which can conflict with char strtoul(); below.  */
  588. ***************
  589. *** 1404,1410 ****
  590.       { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
  591.   else
  592.   cat > conftest.$ac_ext <<EOF
  593. ! #line 1408 "configure"
  594.   #include "confdefs.h"
  595.   
  596.   extern int strtoul();
  597. --- 1406,1412 ----
  598.       { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
  599.   else
  600.   cat > conftest.$ac_ext <<EOF
  601. ! #line 1410 "configure"
  602.   #include "confdefs.h"
  603.   
  604.   extern int strtoul();
  605. ***************
  606. *** 1443,1449 ****
  607.     echo $ac_n "(cached) $ac_c" 1>&6
  608.   else
  609.     cat > conftest.$ac_ext <<EOF
  610. ! #line 1447 "configure"
  611.   #include "confdefs.h"
  612.   /* System header to define __stub macros and hopefully few prototypes,
  613.       which can conflict with char strtod(); below.  */
  614. --- 1445,1451 ----
  615.     echo $ac_n "(cached) $ac_c" 1>&6
  616.   else
  617.     cat > conftest.$ac_ext <<EOF
  618. ! #line 1449 "configure"
  619.   #include "confdefs.h"
  620.   /* System header to define __stub macros and hopefully few prototypes,
  621.       which can conflict with char strtod(); below.  */
  622. ***************
  623. *** 1487,1493 ****
  624.       { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
  625.   else
  626.   cat > conftest.$ac_ext <<EOF
  627. ! #line 1491 "configure"
  628.   #include "confdefs.h"
  629.   
  630.   extern double strtod();
  631. --- 1489,1495 ----
  632.       { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
  633.   else
  634.   cat > conftest.$ac_ext <<EOF
  635. ! #line 1493 "configure"
  636.   #include "confdefs.h"
  637.   
  638.   extern double strtod();
  639. ***************
  640. *** 1528,1534 ****
  641.     echo $ac_n "(cached) $ac_c" 1>&6
  642.   else
  643.     cat > conftest.$ac_ext <<EOF
  644. ! #line 1532 "configure"
  645.   #include "confdefs.h"
  646.   /* System header to define __stub macros and hopefully few prototypes,
  647.       which can conflict with char strtod(); below.  */
  648. --- 1530,1536 ----
  649.     echo $ac_n "(cached) $ac_c" 1>&6
  650.   else
  651.     cat > conftest.$ac_ext <<EOF
  652. ! #line 1534 "configure"
  653.   #include "confdefs.h"
  654.   /* System header to define __stub macros and hopefully few prototypes,
  655.       which can conflict with char strtod(); below.  */
  656. ***************
  657. *** 1574,1580 ****
  658.       { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
  659.   else
  660.   cat > conftest.$ac_ext <<EOF
  661. ! #line 1578 "configure"
  662.   #include "confdefs.h"
  663.   
  664.       extern double strtod();
  665. --- 1576,1582 ----
  666.       { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
  667.   else
  668.   cat > conftest.$ac_ext <<EOF
  669. ! #line 1580 "configure"
  670.   #include "confdefs.h"
  671.   
  672.       extern double strtod();
  673. ***************
  674. *** 1616,1622 ****
  675.     echo $ac_n "(cached) $ac_c" 1>&6
  676.   else
  677.     cat > conftest.$ac_ext <<EOF
  678. ! #line 1620 "configure"
  679.   #include "confdefs.h"
  680.   #include <stdlib.h>
  681.   #include <stdarg.h>
  682. --- 1618,1624 ----
  683.     echo $ac_n "(cached) $ac_c" 1>&6
  684.   else
  685.     cat > conftest.$ac_ext <<EOF
  686. ! #line 1622 "configure"
  687.   #include "confdefs.h"
  688.   #include <stdlib.h>
  689.   #include <stdarg.h>
  690. ***************
  691. *** 1638,1644 ****
  692.   if test $ac_cv_header_stdc = yes; then
  693.     # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  694.   cat > conftest.$ac_ext <<EOF
  695. ! #line 1642 "configure"
  696.   #include "confdefs.h"
  697.   #include <string.h>
  698.   EOF
  699. --- 1640,1646 ----
  700.   if test $ac_cv_header_stdc = yes; then
  701.     # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  702.   cat > conftest.$ac_ext <<EOF
  703. ! #line 1644 "configure"
  704.   #include "confdefs.h"
  705.   #include <string.h>
  706.   EOF
  707. ***************
  708. *** 1656,1662 ****
  709.   if test $ac_cv_header_stdc = yes; then
  710.     # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  711.   cat > conftest.$ac_ext <<EOF
  712. ! #line 1660 "configure"
  713.   #include "confdefs.h"
  714.   #include <stdlib.h>
  715.   EOF
  716. --- 1658,1664 ----
  717.   if test $ac_cv_header_stdc = yes; then
  718.     # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  719.   cat > conftest.$ac_ext <<EOF
  720. ! #line 1662 "configure"
  721.   #include "confdefs.h"
  722.   #include <stdlib.h>
  723.   EOF
  724. ***************
  725. *** 1677,1683 ****
  726.     ac_cv_header_stdc=no
  727.   else
  728.   cat > conftest.$ac_ext <<EOF
  729. ! #line 1681 "configure"
  730.   #include "confdefs.h"
  731.   #include <ctype.h>
  732.   #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  733. --- 1679,1685 ----
  734.     ac_cv_header_stdc=no
  735.   else
  736.   cat > conftest.$ac_ext <<EOF
  737. ! #line 1683 "configure"
  738.   #include "confdefs.h"
  739.   #include <ctype.h>
  740.   #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  741. ***************
  742. *** 1711,1717 ****
  743.     echo $ac_n "(cached) $ac_c" 1>&6
  744.   else
  745.     cat > conftest.$ac_ext <<EOF
  746. ! #line 1715 "configure"
  747.   #include "confdefs.h"
  748.   #include <sys/types.h>
  749.   #if STDC_HEADERS
  750. --- 1713,1719 ----
  751.     echo $ac_n "(cached) $ac_c" 1>&6
  752.   else
  753.     cat > conftest.$ac_ext <<EOF
  754. ! #line 1717 "configure"
  755.   #include "confdefs.h"
  756.   #include <sys/types.h>
  757.   #if STDC_HEADERS
  758. ***************
  759. *** 1742,1748 ****
  760.     echo $ac_n "(cached) $ac_c" 1>&6
  761.   else
  762.     cat > conftest.$ac_ext <<EOF
  763. ! #line 1746 "configure"
  764.   #include "confdefs.h"
  765.   #include <sys/types.h>
  766.   #if STDC_HEADERS
  767. --- 1744,1750 ----
  768.     echo $ac_n "(cached) $ac_c" 1>&6
  769.   else
  770.     cat > conftest.$ac_ext <<EOF
  771. ! #line 1748 "configure"
  772.   #include "confdefs.h"
  773.   #include <sys/types.h>
  774.   #if STDC_HEADERS
  775. ***************
  776. *** 1773,1779 ****
  777.     echo $ac_n "(cached) $ac_c" 1>&6
  778.   else
  779.     cat > conftest.$ac_ext <<EOF
  780. ! #line 1777 "configure"
  781.   #include "confdefs.h"
  782.   #include <sys/types.h>
  783.   #if STDC_HEADERS
  784. --- 1775,1781 ----
  785.     echo $ac_n "(cached) $ac_c" 1>&6
  786.   else
  787.     cat > conftest.$ac_ext <<EOF
  788. ! #line 1779 "configure"
  789.   #include "confdefs.h"
  790.   #include <sys/types.h>
  791.   #if STDC_HEADERS
  792. ***************
  793. *** 1804,1810 ****
  794.     echo $ac_n "(cached) $ac_c" 1>&6
  795.   else
  796.     cat > conftest.$ac_ext <<EOF
  797. ! #line 1808 "configure"
  798.   #include "confdefs.h"
  799.   #include <sys/types.h>
  800.   EOF
  801. --- 1806,1812 ----
  802.     echo $ac_n "(cached) $ac_c" 1>&6
  803.   else
  804.     cat > conftest.$ac_ext <<EOF
  805. ! #line 1810 "configure"
  806.   #include "confdefs.h"
  807.   #include <sys/types.h>
  808.   EOF
  809. ***************
  810. *** 1844,1850 ****
  811.     echo $ac_n "(cached) $ac_c" 1>&6
  812.   else
  813.     cat > conftest.$ac_ext <<EOF
  814. ! #line 1848 "configure"
  815.   #include "confdefs.h"
  816.   /* System header to define __stub macros and hopefully few prototypes,
  817.       which can conflict with char opendir(); below.  */
  818. --- 1846,1852 ----
  819.     echo $ac_n "(cached) $ac_c" 1>&6
  820.   else
  821.     cat > conftest.$ac_ext <<EOF
  822. ! #line 1850 "configure"
  823.   #include "confdefs.h"
  824.   /* System header to define __stub macros and hopefully few prototypes,
  825.       which can conflict with char opendir(); below.  */
  826. ***************
  827. *** 1896,1902 ****
  828.   
  829.   echo $ac_n "checking sys_errlist""... $ac_c" 1>&6
  830.   cat > conftest.$ac_ext <<EOF
  831. ! #line 1900 "configure"
  832.   #include "confdefs.h"
  833.   
  834.   int main() { return 0; }
  835. --- 1898,1904 ----
  836.   
  837.   echo $ac_n "checking sys_errlist""... $ac_c" 1>&6
  838.   cat > conftest.$ac_ext <<EOF
  839. ! #line 1902 "configure"
  840.   #include "confdefs.h"
  841.   
  842.   int main() { return 0; }
  843. ***************
  844. *** 1935,1941 ****
  845.   
  846.   echo $ac_n "checking union wait""... $ac_c" 1>&6
  847.   cat > conftest.$ac_ext <<EOF
  848. ! #line 1939 "configure"
  849.   #include "confdefs.h"
  850.   #include <sys/types.h> 
  851.   #include <sys/wait.h>
  852. --- 1937,1943 ----
  853.   
  854.   echo $ac_n "checking union wait""... $ac_c" 1>&6
  855.   cat > conftest.$ac_ext <<EOF
  856. ! #line 1941 "configure"
  857.   #include "confdefs.h"
  858.   #include <sys/types.h> 
  859.   #include <sys/wait.h>
  860. ***************
  861. *** 1972,1978 ****
  862.   
  863.   echo $ac_n "checking matherr support""... $ac_c" 1>&6
  864.   cat > conftest.$ac_ext <<EOF
  865. ! #line 1976 "configure"
  866.   #include "confdefs.h"
  867.   #include <math.h>
  868.   int main() { return 0; }
  869. --- 1974,1980 ----
  870.   
  871.   echo $ac_n "checking matherr support""... $ac_c" 1>&6
  872.   cat > conftest.$ac_ext <<EOF
  873. ! #line 1978 "configure"
  874.   #include "confdefs.h"
  875.   #include <math.h>
  876.   int main() { return 0; }
  877. ***************
  878. *** 2014,2020 ****
  879.     echo $ac_n "(cached) $ac_c" 1>&6
  880.   else
  881.     cat > conftest.$ac_ext <<EOF
  882. ! #line 2018 "configure"
  883.   #include "confdefs.h"
  884.   /* System header to define __stub macros and hopefully few prototypes,
  885.       which can conflict with char vfork(); below.  */
  886. --- 2016,2022 ----
  887.     echo $ac_n "(cached) $ac_c" 1>&6
  888.   else
  889.     cat > conftest.$ac_ext <<EOF
  890. ! #line 2020 "configure"
  891.   #include "confdefs.h"
  892.   /* System header to define __stub macros and hopefully few prototypes,
  893.       which can conflict with char vfork(); below.  */
  894. ***************
  895. *** 2060,2066 ****
  896.       { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
  897.   else
  898.   cat > conftest.$ac_ext <<EOF
  899. ! #line 2064 "configure"
  900.   #include "confdefs.h"
  901.   
  902.       #include <stdio.h>
  903. --- 2062,2068 ----
  904.       { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
  905.   else
  906.   cat > conftest.$ac_ext <<EOF
  907. ! #line 2066 "configure"
  908.   #include "confdefs.h"
  909.   
  910.       #include <stdio.h>
  911. ***************
  912. *** 2119,2125 ****
  913.     echo $ac_n "(cached) $ac_c" 1>&6
  914.   else
  915.     cat > conftest.$ac_ext <<EOF
  916. ! #line 2123 "configure"
  917.   #include "confdefs.h"
  918.   /* System header to define __stub macros and hopefully few prototypes,
  919.       which can conflict with char strncasecmp(); below.  */
  920. --- 2121,2127 ----
  921.     echo $ac_n "(cached) $ac_c" 1>&6
  922.   else
  923.     cat > conftest.$ac_ext <<EOF
  924. ! #line 2125 "configure"
  925.   #include "confdefs.h"
  926.   /* System header to define __stub macros and hopefully few prototypes,
  927.       which can conflict with char strncasecmp(); below.  */
  928. ***************
  929. *** 2163,2169 ****
  930.     ac_save_LIBS="$LIBS"
  931.   LIBS="-lsocket  $LIBS"
  932.   cat > conftest.$ac_ext <<EOF
  933. ! #line 2167 "configure"
  934.   #include "confdefs.h"
  935.   
  936.   int main() { return 0; }
  937. --- 2165,2171 ----
  938.     ac_save_LIBS="$LIBS"
  939.   LIBS="-lsocket  $LIBS"
  940.   cat > conftest.$ac_ext <<EOF
  941. ! #line 2169 "configure"
  942.   #include "confdefs.h"
  943.   
  944.   int main() { return 0; }
  945. ***************
  946. *** 2184,2190 ****
  947.   fi
  948.   if eval "test \"`echo '$ac_cv_lib_'socket`\" = yes"; then
  949.     echo "$ac_t""yes" 1>&6
  950. !     ac_tr_lib=HAVE_LIB`echo socket | tr 'a-z' 'A-Z'`
  951.     cat >> confdefs.h <<EOF
  952.   #define $ac_tr_lib 1
  953.   EOF
  954. --- 2186,2192 ----
  955.   fi
  956.   if eval "test \"`echo '$ac_cv_lib_'socket`\" = yes"; then
  957.     echo "$ac_t""yes" 1>&6
  958. !     ac_tr_lib=HAVE_LIB`echo socket | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  959.     cat >> confdefs.h <<EOF
  960.   #define $ac_tr_lib 1
  961.   EOF
  962. ***************
  963. *** 2215,2221 ****
  964.     echo $ac_n "(cached) $ac_c" 1>&6
  965.   else
  966.     cat > conftest.$ac_ext <<EOF
  967. ! #line 2219 "configure"
  968.   #include "confdefs.h"
  969.   /* System header to define __stub macros and hopefully few prototypes,
  970.       which can conflict with char BSDgettimeofday(); below.  */
  971. --- 2217,2223 ----
  972.     echo $ac_n "(cached) $ac_c" 1>&6
  973.   else
  974.     cat > conftest.$ac_ext <<EOF
  975. ! #line 2221 "configure"
  976.   #include "confdefs.h"
  977.   /* System header to define __stub macros and hopefully few prototypes,
  978.       which can conflict with char BSDgettimeofday(); below.  */
  979. ***************
  980. *** 2260,2266 ****
  981.     echo $ac_n "(cached) $ac_c" 1>&6
  982.   else
  983.     cat > conftest.$ac_ext <<EOF
  984. ! #line 2264 "configure"
  985.   #include "confdefs.h"
  986.   /* System header to define __stub macros and hopefully few prototypes,
  987.       which can conflict with char gettimeofday(); below.  */
  988. --- 2262,2268 ----
  989.     echo $ac_n "(cached) $ac_c" 1>&6
  990.   else
  991.     cat > conftest.$ac_ext <<EOF
  992. ! #line 2266 "configure"
  993.   #include "confdefs.h"
  994.   /* System header to define __stub macros and hopefully few prototypes,
  995.       which can conflict with char gettimeofday(); below.  */
  996. ***************
  997. *** 2307,2313 ****
  998.   
  999.   echo $ac_n "checking for gettimeofday declaration""... $ac_c" 1>&6
  1000.   cat > conftest.$ac_ext <<EOF
  1001. ! #line 2311 "configure"
  1002.   #include "confdefs.h"
  1003.   #include <sys/time.h>
  1004.   EOF
  1005. --- 2309,2315 ----
  1006.   
  1007.   echo $ac_n "checking for gettimeofday declaration""... $ac_c" 1>&6
  1008.   cat > conftest.$ac_ext <<EOF
  1009. ! #line 2313 "configure"
  1010.   #include "confdefs.h"
  1011.   #include <sys/time.h>
  1012.   EOF
  1013. ***************
  1014. *** 2416,2422 ****
  1015.       echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
  1016.       exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
  1017.     -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
  1018. !     echo "$CONFIG_STATUS generated by autoconf version 2.2"
  1019.       exit 0 ;;
  1020.     -help | --help | --hel | --he | --h)
  1021.       echo "\$ac_cs_usage"; exit 0 ;;
  1022. --- 2418,2424 ----
  1023.       echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
  1024.       exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
  1025.     -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
  1026. !     echo "$CONFIG_STATUS generated by autoconf version 2.4"
  1027.       exit 0 ;;
  1028.     -help | --help | --hel | --he | --h)
  1029.       echo "\$ac_cs_usage"; exit 0 ;;
  1030. ***************
  1031. *** 2427,2433 ****
  1032.   ac_given_srcdir=$srcdir
  1033.   ac_given_INSTALL="$INSTALL"
  1034.   
  1035. ! trap 'rm -f Makefile; exit 1' 1 2 15
  1036.   
  1037.   # Protect against being on the right side of a sed subst in config.status. 
  1038.   sed 's/%@/@@/; s/@%/@@/; s/%g$/@g/; /@g$/s/[\\\\&%]/\\\\&/g; 
  1039. --- 2429,2435 ----
  1040.   ac_given_srcdir=$srcdir
  1041.   ac_given_INSTALL="$INSTALL"
  1042.   
  1043. ! trap 'rm -fr `echo "Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
  1044.   
  1045.   # Protect against being on the right side of a sed subst in config.status. 
  1046.   sed 's/%@/@@/; s/@%/@@/; s/%g$/@g/; /@g$/s/[\\\\&%]/\\\\&/g; 
  1047. *** ../tcl7.4/./changes    Fri Jun 30 11:19:05 1995
  1048. --- ./changes    Fri Jul 28 10:20:44 1995
  1049. ***************
  1050. *** 1225,1227 ****
  1051. --- 1225,1244 ----
  1052.   to provide a hint about why the problem is occurring.
  1053.   
  1054.   ----------------- Released version 7.4, 7/1/95 ------------------
  1055. + 7/19/95 (bug fix) Modified Tcl_DeleteCommand to delete the hash table
  1056. + entry for the command before invoking its callback.  This is needed in
  1057. + order to deal with reentrancy.  (core dumps could happen in "rename"
  1058. + commands under some circumstances otherwise)
  1059. + 7/22/95 (bug fix) "exec" wasn't reaping processes correctly after
  1060. + certain errors (e.g. if the name of the executable was bogus, as
  1061. + in "exec foobar").
  1062. + 7/27/95 (bug fix) Makefile.in wasn't using the LIBS variable provided
  1063. + by the "configure" script.  This caused problems on some SCO systems.
  1064. + 7/27/95 (bug fix) The version of strtod in fixstrtod.c didn't properly
  1065. + handle the case where endPtr == NULL.
  1066. + ----------------- Released patch 7.4p1, 7/29/95 -----------------------
  1067. *** ../tcl7.4/./compat/fixstrtod.c    Tue Jun 27 16:19:56 1995
  1068. --- ./compat/fixstrtod.c    Thu Jul 27 12:59:27 1995
  1069. ***************
  1070. *** 11,18 ****
  1071.    * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
  1072.    */
  1073.   
  1074. ! static char sccsid[] = "@(#) fixstrtod.c 1.3 95/06/27 16:19:56";
  1075.   
  1076.   #undef strtod
  1077.   
  1078.   /*
  1079. --- 11,20 ----
  1080.    * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
  1081.    */
  1082.   
  1083. ! static char sccsid[] = "@(#) fixstrtod.c 1.4 95/07/27 12:59:26";
  1084.   
  1085. + #include <stdio.h>
  1086.   #undef strtod
  1087.   
  1088.   /*
  1089. ***************
  1090. *** 29,35 ****
  1091.   {
  1092.       double d;
  1093.       d = strtod(string, endPtr);
  1094. !     if ((*endPtr != string) && ((*endPtr)[-1] == 0)) {
  1095.       *endPtr -= 1;
  1096.       }
  1097.       return d;
  1098. --- 31,37 ----
  1099.   {
  1100.       double d;
  1101.       d = strtod(string, endPtr);
  1102. !     if ((endPtr != NULL) && (*endPtr != string) && ((*endPtr)[-1] == 0)) {
  1103.       *endPtr -= 1;
  1104.       }
  1105.       return d;
  1106.